<?php

function dmq_urldecode( $url )
{
	return urldecode( strtr( $url, "-", '%' ) );
}

function dmq_urlencode( $url )
{
	return str_replace( array( "-", '%' ),array( '%2D', "-" ), urlencode( $url ) );
}
